package sapling.logic.object.pcb;

public class SceneInfo {
	private long controlRegister;

	private long generalRegister;

	private long pswRegister;

	private long sysStackPointer;

	private long usrStackPointer;

	public long getControlRegister() {
		return controlRegister;
	}

	public void setControlRegister(long controlRegister) {
		this.controlRegister = controlRegister;
	}

	public long getGeneralRegister() {
		return generalRegister;
	}

	public void setGeneralRegister(long generalRegister) {
		this.generalRegister = generalRegister;
	}

	public long getPswRegister() {
		return pswRegister;
	}

	public void setPswRegister(long pswRegister) {
		this.pswRegister = pswRegister;
	}

	public long getSysStackPointer() {
		return sysStackPointer;
	}

	public void setSysStackPointer(long sysStackPointer) {
		this.sysStackPointer = sysStackPointer;
	}

	public long getUsrStackPointer() {
		return usrStackPointer;
	}

	public void setUsrStackPointer(long usrStackPointer) {
		this.usrStackPointer = usrStackPointer;
	}

	@Override
	public String toString() {
		return "控制寄存器:" + controlRegister + "\n"
				+ "通用寄存器:" + generalRegister + "\n"
				+ "程序状态字:" + pswRegister + "\n"
				+ "系统堆栈指针:" + sysStackPointer + "\n"
				+ "用户堆栈指针:" + usrStackPointer + "\n";
	}
}
